package com.xuecheng.system.service;

import com.xuecheng.api.system.model.dto.DictionaryDTO;
import com.xuecheng.system.entity.Dictionary;
import com.baomidou.mybatisplus.extension.service.IService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

import java.util.List;

/**
 * <p>
 * 数据字典 服务类
 * </p>
 *
 * @author itcast
 * @since 2021-10-08
 */
public interface DictionaryService extends IService<Dictionary> {


    List<DictionaryDTO> queryAll();

    DictionaryDTO getByCode(String code);
}
